home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Internet
/
WWW
/
apache_1.0.5
/
src
/
Configuration
< prev
next >
Wrap
Text File
|
1996-04-11
|
6KB
|
172 lines
# Config file for the Apache httpd.
# There are three types of lines here:
# '#' comments, distinguished by having a '#' as the first non-blank character
#
# Lines which set a Make option --- these are simply copied into the Makefile
#
# Module selection lines, distinguished by having 'Module' at the front.
# These list the configured modules, in priority order (highest priority
# first). They're down at the bottom.
# First, ordinary compile-time configuration.
# What to call the compiler: For normal machines with ANSI compilers
# CC= cc
# For Suns or other non-ANSI platforms. Please make sure your gcc is
# 2.0 or later, as 1.40 seems to create bad code for the Sun 4.
CC= cc
# CFLAGS, compile flags.
# If you want no reverse hostname resolution, use -DMINIMAL_DNS
# If you want to have more secure hostname resolution at the cost of some
# performance, use -DMAXIMUM_DNS.
# If you want setting the xbit of a file to cause it to be treated as
# server-included HTML (unless it is a CGI script), say -DXBITHACK. Note
# that this is a run-time option, per-directory, either way (via the XBITHACK
# command); this option only sets the default.
# [Some other former Apache compile-time options are now treated differently;
# the virtual host code is always present; DBM auth is an optional module, and
# may be configured out by changing the module config below, though it still
# defaults in. Note that this config file does not include DBM auth by
# default --- configure it in below if you need it].
CFLAGS= -O2 -arch m68k -arch i386 -arch hppa -arch sparc
# Place here any flags you may need upon linking, such as a flag to
# prevent dynamic linking (if desired)
LFLAGS=
# Place here any extra libraries you may need to link to.
# -lndbm is commonly required for DBM auth, if that is configured in.
EXTRA_LIBS=-ldbm
# AUX_CFLAGS are system-specific control flags.
# NOTE: IF YOU DO NOT CHOOSE ONE OF THESE, EDIT httpd.h AND CHOOSE
# SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
# For SunOS 4
#AUX_CFLAGS= -DSUNOS4
# For Solaris 2.
#AUX_CFLAGS= -DSOLARIS2
#AUX_LIBS= -lsocket -lnsl
# For SGI IRIX. Use the AUX_LIBS line if you're using NIS and want
# user-supported directories
#AUX_CFLAGS= -DIRIX
#AUX_LIBS= -lsun
# For HP-UX n.b. if you use the paid-for HP CC compiler, use flag -Ae
#AUX_CFLAGS= -DHPUX
# For AIX
#AUX_CFLAGS= -DAIX -U__STR__
# For Ultrix
#AUX_CFLAGS= -DULTRIX
# For DEC OSF/1
#AUX_CFLAGS= -DOSF1
# For NeXT
AUX_CFLAGS= -DNEXT
# For Sequent
#AUX_CFLAGS= -DSEQUENT
# For Linux -m486 ONLY IF YOU HAVE 486 BINARY SUPPORT IN KERNEL
#AUX_CFLAGS= -DLINUX
# For A/UX
#AUX_CFLAGS= -DAUX -D_POSIX_SOURCE
#AUX_LIBS= -lposix -lbsd -s
# For SCO ODT 3
# libcrypt_i available from sosco.sco.com, files /SLS/lng225b.Z and
# /SLS/lng225b.ltr.Z
# the -Oe option causes cc to die compiling mod_imap (using 3.0.0a of the dev sys)
#CFLAGS= -Oacgiltz
#AUX_CFLAGS= -DSCO
#AUX_LIBS= -lPW -lsocket -lmalloc -lcrypt_i
# For SCO OpenServer Release 5
#AUX_CFLAGS= -DSCO5
#AUX_LIBS=-lsocket -lmalloc
# For SVR4
#AUX_CFLAGS= -DSVR4
#AUX_LIBS= -lsocket -lnsl -lc
# For UnixWare 2.x, no longer just SVR4 (sigh) - use cc, not gcc
# AUX_CFLAGS= -DSVR4 -DUW2
# AUX_LIBS= -lsocket -lnsl -lcrypt
# For Amdahl UTS 2.1
# -Xa enables ANSI mode, -eft is expanded types
#AUX_CFLAGS= -Xa -eft -DUTS21
#AUX_LIBS= -lsocket -lbsd -la
# For HP/Apollo Domain/OS
#AUX_CFLAGS= -DAPOLLO
# For NetBSD/FreeBSD/BSDI 2.x
# -m486 only if you are running on Intel 486/586
#AUX_CFLAGS= -m486
# BSDI doesn't need -lcrypt
#AUX_LIBS= -lcrypt
# For QNX
#AUX_CFLAGS= -DQNX
#AUX_LFLAGS= -N 0x20000
# For LynxOS
#AUX_CFLAGS= -DLYNXOS
#EXTRA_LIBS=-lbsd -ldes -lc_p
################################################################
# Module configuration
#
# Modules are listed in reverse priority order --- the ones that come
# later can override the behavior of those that come earlier. This
# can have visible effects; for instance, if UserDir followed Alias,
# you couldn't alias out a particular user's home directory.
# Basic modules (i.e., generally useful stuff that works everyplace):
Module mime_module mod_mime.o
Module access_module mod_access.o
Module auth_module mod_auth.o
Module negotiation_module mod_negotiation.o
Module includes_module mod_include.o
Module dir_module mod_dir.o
Module cgi_module mod_cgi.o
Module userdir_module mod_userdir.o
Module alias_module mod_alias.o
Module common_log_module mod_log_common.o
# Modules which implement Apache extensions:
# These can be commented out if you don't want them
# (or don't have the decade-old "new" DBM libs).
Module asis_module mod_asis.o
#Module imap_module mod_imap.o
Module dbm_auth_module mod_auth_dbm.o
# Optional modules for *full* NCSA compatibility --- we think these log
# files are a bad idea, but reasonable people seem to disagree:
Module agent_log_module mod_log_agent.o
Module referer_log_module mod_log_referer.o
# Finally, outright experiments --- mod_dld defines commands which
# allows other modules to be loaded in at runtime, and mod_cookies
# uses Netscape cookies to automatically construct and log accurate
# click-trails from Netscape cookies, for Netscape-using clients who
# aren't coming in via proxy.
# Module dld_module mod_dld.o
Module cookies_module mod_cookies.o
# Finally, this is a *replacement* for mod_log_common which
# supports a LogFormat directive which allows you to specify what
# goes into the TransferLog (if you want Referer, etc.) --- see the
# source code for docs. It is likely that something like this will
# be the default logger in a future release, but this is very much
# an experimental piece of code, and the syntax, etc., are still
# up for grabs.
#
# If you play with this, remember to drop the standard
# mod_log_common --- a server with both will work, but you'll get
# very confused trying to figure out what's going on...
# Module config_log_module mod_log_config.o
Module expires_module mod_expires.o
Module action_module mod_actions.o
Module imap_module mod_imap_new.o